<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    
    <%   String mobileID = request.getParameter("mobileID");
            String contact = request.getParameter("contact");
            String register = request.getParameter("register");
            String checkout = request.getParameter("checkout");
            String admin = request.getParameter("admin");
            String rightpane = "rightpane.jsp";
            if (mobileID != null) {
                rightpane = "detailproduct.jsp";
            }
            if (contact != null) {
                rightpane = "contact.jsp";
            }
            if (register != null) {
                rightpane = "register.jsp";
            }
            if (checkout != null) {
                rightpane = "checkout.jsp";
            }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="SHORTCUT ICON" href="image/shrotcuticon.png"></link>
        <title>Mobile Shop</title>

        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="menu/menu_style.css" />
        <link rel="stylesheet" href="slide/nivo-slider.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="slide/style.css" type="text/css"/>
        <script type="text/javascript" src="slide/scripts/jquery-1.4.3.min.js"></script>
        <script type="text/javascript" src="slide/jquery.nivo.slider.pack.js"></script>
        <script type="text/javascript" src="menu/stmenu.js"></script>

        <script type="text/javascript">
            $(window).load(
            function() {
                $('#slider').nivoSlider();
            }
        );
            $(document).ready(function() {
                $("form input").keypress(function (e) {
                    if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {
                        $("#btn_login").click();
                        return false;
                    } else {
                        return true;
                    }
                });
            });

            
        </script>
        <script type="text/javascript" src="tooltip/jtip.js"></script>
        <link href="tooltip/css/global.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="validate.js"></script>
    </head>

    <body>
        <a name="top" id="top"></a>
        <div id="frame">
            <div id="page">
                <div id="header">
                    <%@include file="header.jsp"  %>
                    <%@include file="menu.jsp" %>

                </div>
                <!--        end header -->
                <div id="content">
                    <%@include file="leftpane.jsp"  %>
                    <!--end leftside -->
                    


                    <jsp:include page="<%=rightpane%>" flush="true">
                        <jsp:param name="mobileID" value="<%=mobileID%>"></jsp:param>
                    </jsp:include>


                    <!--        end rightside -->
                </div>
                <!--    end content -->
            </div>
            <%@include file="footer.jsp" %>
            <!--    end page -->
        </div>
</body>
</html>